<!DOCTYPE html>
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/mytags.jsp"%>
<title>考察申请</title>
<t:base type="jquery,easyui,dataTables,lhgdialog"></t:base>
<%@ include file="/jsp/common/common_script.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<!-- extend -->
<script type="text/javascript" src="static_resources/javascript/model/sys_set/loan/inspect_loan_add.1.0.js"></script>
</head>



<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
	    <li><a href="javascript:void(0)">首页</a></li>
	    <li><a href="javascript:void(0)">贷款管理</a></li>
	    <li><a href="javascript:void(0)">贷款审核</a></li>
	    <li><a href="javascript:void(0)">待考察贷款</a></li>
    </ul>
    </div>
    <input type="hidden" id="loanId" value="${param.loanId}" />
	<input type="hidden" id="clientId" value="${param.clientId}" />
    <div class="formbody">
    	<div class="formtitle"><span>考察报告附件上传</span></div>
    	
    	<div class="toolsli">
			<form id="inspectForm" name="inspectForm" enctype="multipart/form-data" method="post">
			<input type="hidden" name="clientId" id=" client_id" value="${param.clientId}" />
			<input type="hidden" name="loanId" id=" loan_id" value="${param.loanId }" />
			<input type="hidden" name="ownerType" value="KC"/>
				<ul class="forminfo">
					<li>
						<kl class="kl_three">
				     		<label>主题<b>*</b></label>
				  			<input name="accessoryTheme"  id="accessoryTheme" type="text" class="newinput190 easyui-validatebox"
								data-options="required:true,validType:['unnormal','chinese','length[1,20]']"/>
						</kl>
						<kl class="kl_second">
							<label>附件类别<b>*</b></label>
			     			<select name="accessoryClass" id="accessoryClass"></select>
						</kl>
				   	</li>
					<li>
   						<label>附件<b>*</b></label>
						<input name="uploadFiles" id="uploadFiles"  type="file" class="scfile">
 					</li>
						
					<li><label>备注<b></b></label> <textarea rows="" cols=""
							class="textinput easyui-validatebox" id="accessoryRemark"
							name="accessoryRemark"></textarea></li>
					<li><label>&nbsp;</label><input name="confirm_button"
						type="submit" class="scbtn" value="保存" /></li>					
				</ul>
			</form>
		</div>

    	<div class="formtitle"><span>考察报告附件列表</span></div>
    	
    	<table cellpadding="0" cellspacing="0" border="0" class="tablelist" id="inspectTable" width="100%"></table>
    	
    	<div class="formtitle"><span>考察信息详情</span></div>
    	<div class="toolsli">
			<form id="_inspect_detail" name="_inspect_detail" enctype="multipart/form-data" method="post">
				<input type="hidden" name="id" id="inspectId"/>
				<input type="hidden" name="loanId" id="loanId" value="${param.loanId}" />
    			<ul class="forminfo">
					<li>
						<table class="newtablelist" id="">
					        <tbody>
						        <tr>
							        <td class="newtd">考察人员</td>
							        <td><span name="inspectUserName"></span>&nbsp;</td>
							        <td class="newtd">考察费用（元）</td>
							        <td colspan="3"><span name="inspectFee"></span>&nbsp;</td>
						        </tr>
						        <tr>
							        <td class="newtd">待考察事项</td>
							        <td colspan="5"><span name="inspectItem"></span>&nbsp;</td>
						        </tr>
						         <tr>
							        <td class="newtd">考察记录</td>
							        <td colspan="5"><textarea name="inspectRecord" class="textinput easyui-validatebox" style="margin-top: 10px;width: 600px;"
							         data-options="validType:['unnormal','length[1,600]']"></textarea></td>
						        </tr>
						  	</tbody>
						</table>
			    	</li>
			    	<li>
			    		<label>&nbsp;</label>
			    		<input type="submit" class="scbtn" value="保存记录"/>&nbsp;&nbsp;&nbsp;&nbsp;
			    		<input type="button" class="scbtn" value="退回审核" onclick="returnLoan();"/>&nbsp;&nbsp;&nbsp;&nbsp;
			    		<input type="button" class="scbtn" value="提交考察" onclick="submitInspect();"/>&nbsp;&nbsp;&nbsp;&nbsp;
			    		<input name="return_button" type="button" class="scbtn" value="返回" onclick="history.go(-1);"/>
			    	</li>
  	 			</ul>
   			</form>
	    </div>
    </div>
</body>
</html>
